<? require_once ('library/banks/FileData.php'); ?>
<link rel="stylesheet" type="text/css" href="pack/styles/final_drop.css">
<div id="title-block">
	<br>&nbsp;

<div class="menu">

<ul>
<li><a href="index.php">Home<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><!--[if lte IE 6]></td></tr></table></a><![endif]--></li>

<li><a href="?type=category&page=-1">Categories<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<ul>
<? 
	$recent = noter_querty('subjects', 'ORDER BY id');
	foreach($recent as $c)
	{
		echo '<li><a href="/new/?type=category&page='.$c['id'].'">'.$c['name'].'</a></li>';
	}
?>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="?type=category&page=-2"">Recent<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<ul>
<? 
	$recent=GetFileDataByCategory(-2);
	foreach($recent as $file)
	{
		echo '<li><a href="/new/?type=file&page='.$file['id'].'">'.$file['title'].'</a></li>';
	}
?>
	</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="#">Manage<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<ul>
		<li><a href="/new/?type=upload">Upload Notes</a></li>
		<li><a href="/new/?type=update">Profile</a></li>
		<li><a href="/new/?type=logout">Logout</a></li>
	</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>

</div>


